<?php $sitelogo = $cquery->getResourceDetails($site->SITELOGO); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title><?php echo $cquery->processTitle(); ?></title>
        <link href="<?php echo $HOME_URL; ?>theme/default/style/common.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo $HOME_URL; ?>theme/<?php echo $site->CURRENTTHEME; ?>/style/tango/skin.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo $HOME_URL . "resources/" . $sitelogo; ?>" rel="shortcut icon" />
        <link href="<?php echo $HOME_URL; ?>theme/<?php echo $site->CURRENTTHEME ?>/style/<?php echo $site->CURRENT_CSS; ?>" rel="stylesheet" type="text/css" />
        <link href="<?php echo $HOME_URL; ?>theme/<?php echo $site->CURRENTTHEME ?>/style/glide.css" rel="stylesheet" type="text/css" />
        <meta content="<?php echo $site->SITE_DESCRIPTION ?>" name="description" />
        <meta content="<?php echo $site->SITE_KEYWORDS ?>" name="keywords" />
    </head>
    <body class="<?php echo $db; ?>">
        <div class="adv_wrapper">
            <div class="adv_header">
                <div class="menu">
                    <?php echo $cquery->sitehomeLinks($SITE_ID, 1, "no", "no", "no",false,true);
 
 ?>
                    <div class="clear"></div>
                </div>
                <div class="adv_logo_item">
				<a href="<?php echo $HOME_URL; ?>" title="<?php echo $site->SITENAME; ?>">
				<img src="/lc/theme/lc/nav/lets_consult.png"  />
				</a>
				</div>
            </div>